package com.zjitc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/22 15:18
 * @description:
 */
@Controller
public class Rcontroller {
  @RequestMapping("/World/{code}")
  @ResponseBody
  public String hello (@PathVariable("code") String code){
    return "hello world " +code;
  }
}
